package com.weizai.carshop.model.entiity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.weizai.carshop.model.config.LocalDateTimeConfig;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@TableName("shop_info_list")
public class ShopInfoList implements Serializable {
    private static final long serialVersionUID = 1L; // 添加此字段
    private  Integer id;
    private  String name;
    private  String url;
    private  String price;
    private  String pidId;
    private  Integer status;
    @JsonSerialize(using = LocalDateTimeConfig.LocalDateTimeSerializer.class)
    private LocalDateTime createTime;

    @JsonSerialize(using = LocalDateTimeConfig.LocalDateTimeSerializer.class)
    private LocalDateTime updateTime;

}
